﻿using EasyShop.OrderService.Repository.Core;
using EasyShop.UserService.Enum;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace EasyShop.OrderService.Repository.Domain
{
    [Table("order")]
    /// <summary>
    /// 购物车信息
    /// </summary>
    public class Order:Entity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public string GoodsId { get;set;}
        /// <summary>
        /// 订单状态 
        /// </summary>
        public int Status { get; set; } = 0;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
